package com.example.spinning.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @author bayernxmt
 * @create 2020-11-10-20:52
 * 染色工序的内表
 */
public class DyeingInfo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String dyeing_name;
    private Float percent;
    private Integer gram;
    private String PH;
    private Integer dyeing_id;//Dyeing表的外键

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDyeing_name() {
        return dyeing_name;
    }

    public void setDyeing_name(String dyeing_name) {
        this.dyeing_name = dyeing_name;
    }

    public Float getPercent() {
        return percent;
    }

    public void setPercent(Float percent) {
        this.percent = percent;
    }

    public Integer getGram() {
        return gram;
    }

    public void setGram(Integer gram) {
        this.gram = gram;
    }

    public String getPH() {
        return PH;
    }

    public void setPH(String PH) {
        this.PH = PH;
    }

    public Integer getDyeing_id() {
        return dyeing_id;
    }

    public void setDyeing_id(Integer dyeing_id) {
        this.dyeing_id = dyeing_id;
    }

    @Override
    public String toString() {
        return "DyeingInfo{" +
                "id=" + id +
                ", dyeing_name='" + dyeing_name + '\'' +
                ", percent=" + percent +
                ", gram=" + gram +
                ", PH='" + PH + '\'' +
                ", dyeing_id=" + dyeing_id +
                '}';
    }
}
